<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      class Animal {}
      class Rabbit extends Animal {}

      // 对于静态的
      alert(Rabbit.__proto__ === Animal) // true

      // 对于常规方法
      alert(Rabbit.prototype.__proto__ === Animal.prototype) // true
    </script>
  </body>
</html>
